Next | Prev | Up | Top | Contents | Index
splgio0, splgio1, splgio2
Three functions can be used to set the processor interrupt mask to block GIO-bus interrupts. As of IRIX 6.2, the only systems that support the GIO bus are uniprocessor systems, in which spl()-type functions are effective. When writing a device driver that might be ported to a multiprocessor, you should avoid functions of this type, and use other means of getting mutual exclusion (see "Priority Level Functions").
The prototypes of the GIO spl() functions are
long splgio0();
long splgio1();
long splgio2();
Devices other than graphics drivers would typically only have a reason to use splgio1(), because 1 is the interrupt level of non-graphics GIO devices.
Next | Prev | Up | Top | Contents | Index